let {request_3031,request_3001} = require('../../utils/https.js')
module.exports = {
  // 查询个人资料
  getUserInfo(phone){
    return request_3001({
      url:`/newPages/getUserInfo?phone=${phone}`,
      method:"GET"
    })
  },
  // 修改个人资料
  setUserInfo(data){
    return request_3001({
      url:'/newPages/setUserInfo',
      method:"POST",
      data
    })
  }
}